package com.example.mymicaihu.bean;

import java.util.List;

/**
 * 作者：朱勇闯
 * data : 2021/4/25  14:02
 * 作用： xxxx
 */
public class HomeTabBean {

    /**
     * code : 0
     * msg : 成功
     * data : [{"id":"20","title":"要闻","type":"isFocusNews"},{"id":"1","title":"推荐","type":"isNews"},{"id":"8","title":"游戏","type":"isGame"},{"id":"2","title":"原创","type":"isExclusives"},{"id":"7","title":"热点","type":"isNews"},{"id":"2","title":"视频","type":"isVideo"},{"id":"0","title":"问答","type":"isQuestion"}]
     */

    private String code;
    private String msg;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 20
         * title : 要闻
         * type : isFocusNews
         */

        private int id;
        private String title;
        private String type;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }
    }
}
